<script setup lang="ts">
function toDetail() {
  uni.navigateTo({
    url: '/pages/mustOrderDishes/detail',
  })
}
</script>

<template>
  <view class="rounded-lg bg-white p-[15px]" @click="toDetail">
    <view class="flex items-center justify-between">
      <view>
        <wd-text text="开台必点" size="16px" color="#333" />
        <wd-tag type="primary" class="ml-2">门店自建</wd-tag>
      </view>
      <wd-text type="success" text="启用" size="14px" />
    </view>
    <view class="mt-1">
      <wd-text text="店内收银、扫码点餐" size="12px" color="#333" />
    </view>
    <view class="mt-6 flex items-center justify-between">
      <wd-tag plain type="primary">每人必点1份</wd-tag>
      <wd-text text="大厅丨包间" size="12px" />
    </view>
  </view>
</template>

<style scoped lang="scss"></style>
